from flask import session, render_template, current_app
from . import blue_print


@blue_print.route('/')
def index():
    session["name"] = "2018"
    return render_template("news/index.html")


@blue_print.route('/favicon.ico')
def favicon():
    return current_app.send_static_file("news/favicon.ico")


